package com.ruoyi.db.domain.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户转账记录对象 mp_client_transfer
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
@ApiModel(value = "MpClientTransfer",description = "用户转账记录对象 mp_client_transfer")
public class MpClientTransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 转账记录表主键 */
    private Long id;

    /** 用户ID */
    @ApiModelProperty(value="用户ID",name="MpClientTransfer$clientId")
    @Excel(name = "用户ID")
    private Long clientId;

    /** 接收人ID */
    @ApiModelProperty(value="接收人ID",name="MpClientTransfer$acceptClientId")
    @Excel(name = "接收人ID")
    private Long acceptClientId;

    /** 转账金额 */
    @ApiModelProperty(value="转账金额",name="MpClientTransfer$amount")
    @Excel(name = "转账金额")
    private BigDecimal amount;

    /** 转账时间 */
    @ApiModelProperty(value="转账时间",name="MpClientTransfer$transferTime")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转账时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transferTime;

    /** 手续费用 */
    @ApiModelProperty(value="手续费用",name="MpClientTransfer$chargeAmount")
    @Excel(name = "手续费用")
    private BigDecimal chargeAmount;


    /** 手续费用 */
    @ApiModelProperty(value="货币类型，1金豆，2银藻",name="MpClientTransfer$beanType")
    @Excel(name = "货币类型，1金豆，2银藻")
    private String beanType;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    private String startTime;
    private String endTime;
    private String payPassword;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientMobile() {
        return clientMobile;
    }

    public void setClientMobile(String clientMobile) {
        this.clientMobile = clientMobile;
    }



    private String clientName;
    private String clientMobile;
    private Boolean isIncome;

    public String getAcceptName() {
        return acceptName;
    }

    public void setAcceptName(String acceptName) {
        this.acceptName = acceptName;
    }


    private String acceptName;

    public String getAcceptMobile() {
        return acceptMobile;
    }

    public void setAcceptMobile(String acceptMobile) {
        this.acceptMobile = acceptMobile;
    }

    private String acceptMobile;
    private String teamLevel;

    public String getTeamLevel() {
        return teamLevel;
    }

    public void setTeamLevel(String teamLevel) {
        this.teamLevel = teamLevel;
    }

    public Boolean getIsIncome() {
        return isIncome;
    }

    public void setIsIncome(Boolean income) {
        isIncome = income;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public String getBeanType() {
        return beanType;
    }

    public void setBeanType(String beanType) {
        this.beanType = beanType;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setAcceptClientId(Long acceptClientId) 
    {
        this.acceptClientId = acceptClientId;
    }

    public Long getAcceptClientId() 
    {
        return acceptClientId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setTransferTime(Date transferTime) 
    {
        this.transferTime = transferTime;
    }

    public Date getTransferTime() 
    {
        return transferTime;
    }
    public void setChargeAmount(BigDecimal chargeAmount) 
    {
        this.chargeAmount = chargeAmount;
    }

    public BigDecimal getChargeAmount() 
    {
        return chargeAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientId", getClientId())
            .append("acceptClientId", getAcceptClientId())
            .append("amount", getAmount())
            .append("transferTime", getTransferTime())
            .append("chargeAmount", getChargeAmount())
            .toString();
    }
}
